<?php
namespace Common\Model;
use Common\Common\Model;
class OrderModel extends Model {
    protected  $tablePrimary = 'Order_Num';
    protected  $objectClass = 'Common\Model\OrderObject';
    /*
     * @param int $
     * */
    public function RunningOrder($Mem_ID,$Order_Status){
        $data = $this->where('Order_Status=1 AND Mem_ID="1"')->select();
        return $data;
    }
    public function  insertData($data){
        $this->data($data)->add();
    }
}